package com.spic.business.violation.supervision.speed.service;

import java.util.List;
import java.util.Map;

import com.spic.business.violation.supervision.speed.domain.ViolationsSpeedRecordDirty;

/**
 * 超速记录Service接口
 * 
 * @author ruoyi
 * @date 2022-11-24
 */
public interface IViolationsSpeedRecordDirtyService 
{
    /**
     * 查询超速记录
     * 
     * @param id 超速记录主键
     * @return 超速记录
     */
    public ViolationsSpeedRecordDirty selectViolationsSpeedRecordDirtyById(Long id);

    /**
     * 查询超速记录列表
     * 
     * @param violationsSpeedRecordDirty 超速记录
     * @return 超速记录集合
     */
    public List<ViolationsSpeedRecordDirty> selectViolationsSpeedRecordDirtyList(ViolationsSpeedRecordDirty violationsSpeedRecordDirty);

    /**
     * 新增超速记录
     * 
     * @param violationsSpeedRecordDirty 超速记录
     * @return 结果
     */
    public int insertViolationsSpeedRecordDirty(ViolationsSpeedRecordDirty violationsSpeedRecordDirty);

    /**
     * 修改超速记录
     * 
     * @param violationsSpeedRecordDirty 超速记录
     * @return 结果
     */
    public int updateViolationsSpeedRecordDirty(ViolationsSpeedRecordDirty violationsSpeedRecordDirty);

    /**
     * 批量删除超速记录
     * 
     * @param ids 需要删除的超速记录主键集合
     * @return 结果
     */
    public int deleteViolationsSpeedRecordDirtyByIds(Long[] ids);

    /**
     * 删除超速记录信息
     * 
     * @param id 超速记录主键
     * @return 结果
     */
    public int deleteViolationsSpeedRecordDirtyById(Long id);

    Map<String, Integer> statistics();
}
